home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Tools 3
/
Amiga Tools 3.iso
/
grafik
/
raytracing
/
rayshade-4.0.6.3
/
inetray
/
mole.ray
< prev
next >
Wrap
Text File
|
1993-08-15
|
18KB
|
941 lines
/*======================================================================
M O L E . R A Y
doc: Fri Mar 13 18:23:23 1992
dlm: Wed May 26 11:25:02 1993
(c) 1992 ant@ips.ethz.ch
uE-Info: 91 30 T 0 0 72 10 2 8 ofnI
======================================================================*/
/* This file was produced by Thomas Koller (koller@ips.id.ethz.ch) for
a ``scientific'' visualization. The molecule featured has been calculated
on a CRAY YMP with a SGI frontend.
Raytraceing this file needs loadsa CPU time. It is therefore included
as an example in the distribution of Inetray. */
/*#define SCREEN 780 780*/
#define SCREEN 100 100
/***************************************************
* Thomas Koller
* 04-Apr-91
*
* new :
* 03-Sep-91
*
* raytraced molecules
*
**************************************************/
/* defines */
define Sphere_Apart 1.9 /* how much the spheres are apart */
define Sphere_Radius 0.4 /* Radius of spheres */
define Disc_Radius 9.0
surface H /* Materials */
ambient 0.0 0.0 0.2
diffuse 0.0 0.0 0.8
specular 0.5 0.5 0.5
specpow 18.
reflect 0.3
surface O
ambient 0.2 0.0 0.0
diffuse 0.7 0.0 0.0
specular 0.5 0.5 0.5
specpow 14.
reflect 0.3
surface C
ambient 0.0 0.0 0.0
diffuse 0.0 0.0 0.0
specular 0.5 0.5 0.5
specpow 18
reflect 0.3
surface Fe
ambient 0.3 0.3 0.4
diffuse 0.5 0.5 0.8
specular 0.5 0.5 0.5
specpow 18
reflect 0.3
surface Zn
ambient 0.2 0.2 0.2
diffuse 0.3 0.3 0.3
specular 0.3 0.3 0.3
specpow 18
reflect 0.6
surface glass
specular 0.8 0.8 0.8
specpow 18
reflect 0.1
transp 0.7 index 1.15
surface dull_white
ambient 0.5 0.5 0.5
diffuse 0.5 0.5 0.5
surface gold
ambient 0.05 0.025 0
diffuse 0.15 0.05 0.0
specular 0.3 0.3 0.3
specpow 18
reflect 0.00
surface light_ambient_blue
ambient 0.3 0.4 0.6
/* screen & file parameters */
/*outfile mole.rle*/
screen SCREEN
report
/* tracing prameters */
/* contrast 0.25 0.2 0.4 */
maxdepth 5
cutoff 0.001
/* image parameters */
/* view parameters */
background 0.1 0.1 0.5
lookp 0. 0 5.0
fov 40.0
/* up view
eyep 0 0 40.0
up 0 1 0
*/
/* normal view */
eyep 0 -28.0 4.5
up 0 0 1
/* atmosphere */
atmosphere
fog .3 .3 .1 800.0 800.0 800.0
/* light sources */
light 1.0 point 6. -5. 10.
light 1.0 1.0 .7 point -120. 390 5.0
/* additional surfaces */
surface water_blue
ambient 0.0 0.0 0.1
diffuse 0.0 0.0 0.1
specular 0.3 0.3 0.3
specpow 15.0
reflect 0.3
surface water_green
ambient 0.0 0.1 0.0
diffuse 0.0 0.1 0.0
specular 0.3 0.3 0.3
specpow 15.0
reflect 0.3
surface Disc
ambient 0.0 0.0 0.0
diffuse 0.0 0.00 0.05
specular 0.3 0.3 0.3
specpow 15.0
reflect 0.7
surface Sun
ambient .8 .8 .7
diffuse .0 .0 .0
specular .0 .0 .0
reflect 0.0
noshadow
/* objects */
name molecule
grid 6 6 6
sphere C 0.250000
1.000000 0.000000 0.000000
cylinder C
0.250000
1.000000 0.000000 0.000000
1.568650 -0.498550 -0.018550
cylinder C
0.250000
1.568650 -0.498550 -0.018550
2.137300 -0.997100 -0.037100
cylinder C
0.250000
1.000000 0.000000 0.000000
1.082050 0.461300 -0.603350
cylinder C
0.250000
1.082050 0.461300 -0.603350
1.164100 0.922600 -1.206700
cylinder C
0.250000
1.000000 0.000000 0.000000
1.003200 0.438950 0.625750
cylinder C
0.250000
1.003200 0.438950 0.625750
1.006400 0.877900 1.251500
cylinder C
0.250000
1.000000 0.000000 0.000000
0.343600 -0.378950 0.000000
cylinder C
0.250000
0.343600 -0.378950 0.000000
-0.312800 -0.757900 0.000000
sphere C 0.250000
2.137300 -0.997100 -0.037100
cylinder C
0.250000
2.137300 -0.997100 -0.037100
2.664200 -0.944250 0.420750
cylinder C
0.250000
2.664200 -0.944250 0.420750
3.191100 -0.891400 0.878600
cylinder C
0.250000
2.137300 -0.997100 -0.037100
2.142650 -1.504000 -0.519800
cylinder C
0.250000
2.142650 -1.504000 -0.519800
2.148000 -2.010900 -1.002500
sphere C 0.250000
3.191100 -0.891400 0.878600
cylinder C
0.250000
3.191100 -0.891400 0.878600
3.723350 -1.345400 0.853650
cylinder C
0.250000
3.723350 -1.345400 0.853650
4.255600 -1.799400 0.828700
cylinder C
0.250000
3.191100 -0.891400 0.878600
3.186900 -0.493150 1.257900
cylinder H
0.250000
3.186900 -0.493150 1.257900
3.182700 -0.094900 1.637200
sphere C 0.250000
4.255600 -1.799400 0.828700
cylinder C
0.250000
4.255600 -1.799400 0.828700
4.260900 -2.306300 0.345950
cylinder C
0.250000
4.260900 -2.306300 0.345950
4.266200 -2.813200 -0.136800
cylinder C
0.250000
4.255600 -1.799400 0.828700
4.813700 -1.743400 1.313650
cylinder C
0.250000
4.813700 -1.743400 1.313650
5.371800 -1.687400 1.798600
sphere C 0.250000
4.266200 -2.813200 -0.136800
cylinder C
0.250000
4.266200 -2.813200 -0.136800
3.739350 -2.866050 -0.594600
cylinder C
0.250000
3.739350 -2.866050 -0.594600
3.212500 -2.918900 -1.052400
cylinder C
0.250000
4.266200 -2.813200 -0.136800
4.799250 -3.267900 -0.161750
cylinder O
0.250000
4.799250 -3.267900 -0.161750
5.332300 -3.722600 -0.186700
sphere C 0.250000
3.212500 -2.918900 -1.052400
cylinder C
0.250000
3.212500 -2.918900 -1.052400
2.680250 -2.464900 -1.027450
cylinder C
0.250000
2.680250 -2.464900 -1.027450
2.148000 -2.010900 -1.002500
cylinder C
0.250000
3.212500 -2.918900 -1.052400
3.218200 -3.462000 -1.569650
cylinder C
0.250000
3.218200 -3.462000 -1.569650
3.223900 -4.005100 -2.086900
sphere C 0.250000
2.148000 -2.010900 -1.002500
cylinder C
0.250000
2.148000 -2.010900 -1.002500
1.734000 -2.052450 -1.362250
cylinder H
0.250000
1.734000 -2.052450 -1.362250
1.320000 -2.094000 -1.722000
sphere C 0.250000
1.164100 0.922600 -1.206700
cylinder C
0.250000
1.164100 0.922600 -1.206700
1.146200 0.630050 -1.681450
cylinder H
0.250000
1.146200 0.630050 -1.681450
1.128300 0.337500 -2.156200
cylinder C
0.250000
1.164100 0.922600 -1.206700
0.765600 1.312700 -1.210050
cylinder H
0.250000
0.765600 1.312700 -1.210050
0.367100 1.702800 -1.213400
cylinder C
0.250000
1.164100 0.922600 -1.206700
1.659300 1.179450 -1.174950
cylinder H
0.250000
1.659300 1.179450 -1.174950
2.154500 1.436300 -1.143200
sphere C 0.250000
1.006400 0.877900 1.251500
cylinder C
0.250000
1.006400 0.877900 1.251500
0.964400 0.564350 1.711100
cylinder H
0.250000
0.964400 0.564350 1.711100
0.922400 0.250800 2.170700
cylinder C
0.250000
1.006400 0.877900 1.251500
1.472750 1.182900 1.277000
cylinder H
0.250000
1.472750 1.182900 1.277000
1.939100 1.487900 1.302500
cylinder C
0.250000
1.006400 0.877900 1.251500
0.570350 1.226500 1.233200
cylinder H
0.250000
0.570350 1.226500 1.233200
0.134300 1.575100 1.214900
sphere C 0.250000
5.371800 -1.687400 1.798600
cylinder C
0.250000
5.371800 -1.687400 1.798600
5.294000 -1.263050 2.152750
cylinder H
0.250000
5.294000 -1.263050 2.152750
5.216200 -0.838700 2.506900
cylinder C
0.250000
5.371800 -1.687400 1.798600
5.854350 -1.608700 1.526550
cylinder H
0.250000
5.854350 -1.608700 1.526550
6.336900 -1.530000 1.254500
cylinder C
0.250000
5.371800 -1.687400 1.798600
5.416350 -2.161400 2.093550
cylinder H
0.250000
5.416350 -2.161400 2.093550
5.460900 -2.635400 2.388500
sphere C 0.250000
3.223900 -4.005100 -2.086900
cylinder C
0.250000
3.223900 -4.005100 -2.086900
2.768350 -3.982800 -2.407550
cylinder H
0.250000
2.768350 -3.982800 -2.407550
2.312800 -3.960500 -2.728200
cylinder C
0.250000
3.223900 -4.005100 -2.086900
3.244300 -4.503300 -1.832450
cylinder H
0.250000
3.244300 -4.503300 -1.832450
3.264700 -5.001500 -1.578000
cylinder C
0.250000
3.223900 -4.005100 -2.086900
3.677250 -3.953350 -2.409450
cylinder H
0.250000
3.677250 -3.953350 -2.409450
4.130600 -3.901600 -2.732000
sphere C 0.250000
-0.312800 -0.757900 0.000000
cylinder C
0.250000
-0.312800 -0.757900 0.000000
-0.787100 -0.636400 -0.500250
cylinder C
0.250000
-0.787100 -0.636400 -0.500250
-1.261400 -0.514900 -1.000500
cylinder C
0.250000
-0.312800 -0.757900 0.000000
-0.444700 -1.229450 0.500250
cylinder C
0.250000
-0.444700 -1.229450 0.500250
-0.576600 -1.701000 1.000500
sphere C 0.250000
-1.261400 -0.514900 -1.000500
cylinder C
0.250000
-1.261400 -0.514900 -1.000500
-1.867650 -0.864900 -1.000500
cylinder C
0.250000
-1.867650 -0.864900 -1.000500
-2.473900 -1.214900 -1.000500
cylinder C
0.250000
-1.261400 -0.514900 -1.000500
-1.157800 -0.144400 -1.393550
cylinder H
0.250000
-1.157800 -0.144400 -1.393550
-1.054200 0.226100 -1.786600
sphere C 0.250000
-2.473900 -1.214900 -1.000500
cylinder C
0.250000
-2.473900 -1.214900 -1.000500
-2.605800 -1.686400 -0.500250
cylinder C
0.250000
-2.605800 -1.686400 -0.500250
-2.737700 -2.157900 0.000000
cylinder C
0.250000
-2.473900 -1.214900 -1.000500
-2.976000 -1.086200 -1.530100
cylinder C
0.250000
-2.976000 -1.086200 -1.530100
-3.478100 -0.957500 -2.059700
sphere C 0.250000
-2.737700 -2.157900 0.000000
cylinder C
0.250000
-2.737700 -2.157900 0.000000
-2.263350 -2.279450 0.500250
cylinder C
0.250000
-2.263350 -2.279450 0.500250
-1.789000 -2.401000 1.000500
cylinder C
0.250000
-2.737700 -2.157900 0.000000
-3.214000 -2.432900 0.000000
cylinder H
0.250000
-3.214000 -2.432900 0.000000
-3.690300 -2.707900 0.000000
sphere C 0.250000
-1.789000 -2.401000 1.000500
cylinder C
0.250000
-1.789000 -2.401000 1.000500
-1.182800 -2.051000 1.000500
cylinder C
0.250000
-1.182800 -2.051000 1.000500
-0.576600 -1.701000 1.000500
cylinder C
0.250000
-1.789000 -2.401000 1.000500
-1.928650 -2.900200 1.530100
cylinder C
0.250000
-1.928650 -2.900200 1.530100
-2.068300 -3.399400 2.059700
sphere C 0.250000
-0.576600 -1.701000 1.000500
cylinder C
0.250000
-0.576600 -1.701000 1.000500
-0.203950 -1.796500 1.393550
cylinder H
0.250000
-0.203950 -1.796500 1.393550
0.168700 -1.892000 1.786600
sphere C 0.250000
-3.478100 -0.957500 -2.059700
cylinder C
0.250000
-3.478100 -0.957500 -2.059700
-3.299800 -0.570350 -2.420650
cylinder H
0.250000
-3.299800 -0.570350 -2.420650
-3.121500 -0.183200 -2.781600
cylinder C
0.250000
-3.478100 -0.957500 -2.059700
-3.957500 -0.779450 -1.833000
cylinder H
0.250000
-3.957500 -0.779450 -1.833000
-4.436900 -0.601400 -1.606300
cylinder C
0.250000
-3.478100 -0.957500 -2.059700
-3.584850 -1.427250 -2.344050
cylinder H
0.250000
-3.584850 -1.427250 -2.344050
-3.691600 -1.897000 -2.628400
sphere C 0.250000
-2.068300 -3.399400 2.059700
cylinder C
0.250000
-2.068300 -3.399400 2.059700
-1.642800 -3.439950 2.419400
cylinder H
0.250000
-1.642800 -3.439950 2.419400
-1.217300 -3.480500 2.779100
cylinder C
0.250000
-2.068300 -3.399400 2.059700
-2.154850 -3.903350 1.832850
cylinder H
0.250000
-2.154850 -3.903350 1.832850
-2.241400 -4.407300 1.606000
cylinder C
0.250000
-2.068300 -3.399400 2.059700
-2.527700 -3.256050 2.344800
cylinder H
0.250000
-2.527700 -3.256050 2.344800
-2.987100 -3.112700 2.629900
sphere C 0.250000
5.144800 -4.898400 0.485700
cylinder C
0.250000
5.144800 -4.898400 0.485700
5.238550 -4.310500 0.149500
cylinder O
0.250000
5.238550 -4.310500 0.149500
5.332300 -3.722600 -0.186700
cylinder C
0.250000
5.144800 -4.898400 0.485700
4.652500 -5.072350 0.803750
cylinder O
0.250000
4.652500 -5.072350 0.803750
4.160200 -5.246300 1.121800
cylinder C
0.250000
5.144800 -4.898400 0.485700
5.723300 -5.250350 0.388250
cylinder O
0.250000
5.723300 -5.250350 0.388250
6.301800 -5.602300 0.290800
sphere C 0.250000
6.364600 -6.868200 0.890100
cylinder C
0.250000
6.364600 -6.868200 0.890100
6.209900 -7.440050 0.517150
cylinder C
0.250000
6.209900 -7.440050 0.517150
6.055200 -8.011900 0.144200
cylinder C
0.250000
6.364600 -6.868200 0.890100
6.550750 -6.928400 1.562200
cylinder C
0.250000
6.550750 -6.928400 1.562200
6.736900 -6.988600 2.234300
cylinder C
0.250000
6.364600 -6.868200 0.890100
6.333200 -6.235250 0.590450
cylinder O
0.250000
6.333200 -6.235250 0.590450
6.301800 -5.602300 0.290800
sphere C 0.250000
6.055200 -8.011900 0.144200
cylinder C
0.250000
6.055200 -8.011900 0.144200
6.086600 -8.643950 0.443400
cylinder C
0.250000
6.086600 -8.643950 0.443400
6.118000 -9.276000 0.742600
cylinder C
0.250000
6.055200 -8.011900 0.144200
5.858100 -7.948100 -0.567600
cylinder C
0.250000
5.858100 -7.948100 -0.567600
5.661000 -7.884300 -1.279400
sphere C 0.250000
6.118000 -9.276000 0.742600
cylinder C
0.250000
6.118000 -9.276000 0.742600
6.304100 -9.336201 1.414750
cylinder C
0.250000
6.304100 -9.336201 1.414750
6.490200 -9.396400 2.086900
cylinder C
0.250000
6.118000 -9.276000 0.742600
5.996400 -9.725300 0.449600
cylinder H
0.250000
5.996400 -9.725300 0.449600
5.874800 -10.174600 0.156600
sphere C 0.250000
6.490200 -9.396400 2.086900
cylinder C
0.250000
6.490200 -9.396400 2.086900
6.644900 -8.824551 2.459800
cylinder C
0.250000
6.644900 -8.824551 2.459800
6.799600 -8.252700 2.832700
cylinder C
0.250000
6.490200 -9.396400 2.086900
6.514850 -9.893000 2.321950
cylinder H
0.250000
6.514850 -9.893000 2.321950
6.539500 -10.389600 2.557000
sphere C 0.250000
6.799600 -8.252700 2.832700
cylinder C
0.250000
6.799600 -8.252700 2.832700
6.768250 -7.620650 2.533500
cylinder C
0.250000
6.768250 -7.620650 2.533500
6.736900 -6.988600 2.234300
cylinder C
0.250000
6.799600 -8.252700 2.832700
6.945850 -8.300050 3.360800
cylinder H
0.250000
6.945850 -8.300050 3.360800
7.092100 -8.347400 3.888900
sphere C 0.250000
6.736900 -6.988600 2.234300
cylinder C
0.250000
6.736900 -6.988600 2.234300
6.900750 -6.383000 2.629250
cylinder C
0.250000
6.900750 -6.383000 2.629250
7.064600 -5.777400 3.024200
sphere C 0.250000
7.064600 -5.777400 3.024200
cylinder C
0.250000
7.064600 -5.777400 3.024200
7.197850 -5.905750 3.550750
cylinder H
0.250000
7.197850 -5.905750 3.550750
7.331100 -6.034100 4.077300
cylinder C
0.250000
7.064600 -5.777400 3.024200
6.624350 -5.430600 3.029000
cylinder H
0.250000
6.624350 -5.430600 3.029000
6.184100 -5.083800 3.033800
cylinder C
0.250000
7.064600 -5.777400 3.024200
7.495150 -5.507100 2.790600
cylinder H
0.250000
7.495150 -5.507100 2.790600
7.925700 -5.236800 2.557000
sphere C 0.250000
5.661000 -7.884300 -1.279400
cylinder C
0.250000
5.661000 -7.884300 -1.279400
5.549950 -8.381950 -1.506500
cylinder H
0.250000
5.549950 -8.381950 -1.506500
5.438900 -8.879600 -1.733600
cylinder C
0.250000
5.661000 -7.884300 -1.279400
6.072100 -7.641000 -1.570650
cylinder H
0.250000
6.072100 -7.641000 -1.570650
6.483200 -7.397700 -1.861900
cylinder C
0.250000
5.661000 -7.884300 -1.279400
5.205500 -7.561500 -1.322900
cylinder H
0.250000
5.205500 -7.561500 -1.322900
4.750000 -7.238700 -1.366400
sphere O 0.250000
5.332300 -3.722600 -0.186700
sphere O 0.250000
4.160200 -5.246300 1.121800
sphere O 0.250000
6.301800 -5.602300 0.290800
sphere H 0.250000
3.182700 -0.094900 1.637200
sphere H 0.250000
1.320000 -2.094000 -1.722000
sphere H 0.250000
1.128300 0.337500 -2.156200
sphere H 0.250000
0.367100 1.702800 -1.213400
sphere H 0.250000
2.154500 1.436300 -1.143200
sphere H 0.250000
0.922400 0.250800 2.170700
sphere H 0.250000
1.939100 1.487900 1.302500
sphere H 0.250000
0.134300 1.575100 1.214900
sphere H 0.250000
-1.054200 0.226100 -1.786600
sphere H 0.250000
-3.690300 -2.707900 0.000000
sphere H 0.250000
0.168700 -1.892000 1.786600
sphere H 0.250000
5.216200 -0.838700 2.506900
sphere H 0.250000
6.336900 -1.530000 1.254500
sphere H 0.250000
5.460900 -2.635400 2.388500
sphere H 0.250000
2.312800 -3.960500 -2.728200
sphere H 0.250000
3.264700 -5.001500 -1.578000
sphere H 0.250000
4.130600 -3.901600 -2.732000
sphere H 0.250000
-3.121500 -0.183200 -2.781600
sphere H 0.250000
-4.436900 -0.601400 -1.606300
sphere H 0.250000
-3.691600 -1.897000 -2.628400
sphere H 0.250000
-1.217300 -3.480500 2.779100
sphere H 0.250000
-2.241400 -4.407300 1.606000
sphere H 0.250000
-2.987100 -3.112700 2.629900
sphere H 0.250000
5.874800 -10.174600 0.156600
sphere H 0.250000
6.539500 -10.389600 2.557000
sphere H 0.250000
7.092100 -8.347400 3.888900
sphere H 0.250000
7.331100 -6.034100 4.077300
sphere H 0.250000
6.184100 -5.083800 3.033800
sphere H 0.250000
7.925700 -5.236800 2.557000
sphere H 0.250000
5.438900 -8.879600 -1.733600
sphere H 0.250000
6.483200 -7.397700 -1.861900
sphere H 0.250000
4.750000 -7.238700 -1.366400
end
name spheres
list
sphere (Sphere_Radius)
(Sphere_Apart) 0.0 0.0
sphere (Sphere_Radius)
(-Sphere_Apart*cos(pi/3)) (Sphere_Apart*sin(pi/3)) 0.0
sphere (Sphere_Radius)
(-Sphere_Apart*cos(pi/3)) (-Sphere_Apart*sin(pi/3)) 0.0
end
name six_spheres
list
object spheres
object spheres
rotate 0 0 1 60
end
name the_scene
list
object molecule
translate -5.3 3.7 0.0
rotate 1 0 0 175
rotate 0. 0. 1.0 155.
rotate 1 0 0 -40
rotate 0 1 0 -15
translate -2.0 0 4.0
cone
(Disc_Radius + 0.5)
0.0 0.0 0.0
(Disc_Radius)
0.0 0.0 0.5
disc Disc
(Disc_Radius)
0.0 0.0 0.5
0 0 1
object glass six_spheres
translate 0 0 (-Sphere_Radius)
scale 4 4 4
end
/* primitives */
object the_scene
translate 0 0 2.0
plane water_blue
0 0 0
0 0 1
texture fbm 0.0 0.5 .5 1.6 9 0.0
scale 15 15 15
texture blotch 0. water_green
texture fbmbump 0.0 0.5 0.5 1.5 7
plane light_ambient_blue
0 0 20
0 0 -1
texture fbm 0.0 0.5 .5 1.5 10 0.0
scale 5. 5. 5.
texture blotch 1. dull_white
scale 5. 5. 5.
sphere
4.0
-120 400 6